pub fn new_birthday_probability(n: u32) -> f64 {
    // TODO: 这里写逻辑
    if n > 365 {
        return 1.0;
    }
    let mut p = 1.0;
    for i in 0..n {
        let ppi = i as f64 / 365.0;
        p *= 1.0 - ppi;
    }
    1.0 - p
}
